package com.yang.dao;

import java.util.List;

import com.yang.core.BaseDao;
import com.yang.pojo.User;

public class UserDao extends BaseDao{

	@SuppressWarnings("unchecked")
	public List<User> findAll(){
		return getSession().createCriteria(User.class).list();
	}

	public List<?> findByParameter(Object... obj) {
		return null;
	}

	public Object findById(Integer id) {
		
		return null;
	}

	@Override
	public List<?> findByParameters(Object... obj) {
		return null;
	}
}
